package com.example.design.decorator;

/**
 * @author: Bin.L
 * @date: 2022/3/14  16:40
 * @Description: 具体装饰角色
 */
public class Bird extends Change {

    public Bird(Component sage) {
        super(sage);
    }

    @Override
    public void move() {
        super.move();
        System.out.println("Change bird move");
    }

    public void fly(){
        System.out.println("Bird fly a fly");
    }

}
